<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Job_seeker_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-job_seeker_id" data-rule="required" data-source="job/seeker/index" class="form-control selectpage" name="row[job_seeker_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Enterprise_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-enterprise_id" data-rule="required" data-source="enterprise/index" class="form-control selectpage" name="row[enterprise_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Job_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-job_id" data-rule="required" data-source="job/index" class="form-control selectpage" name="row[job_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Last_message_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-last_message_id" data-rule="required" data-source="last/message/index" class="form-control selectpage" name="row[last_message_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Last_message_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-last_message_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[last_message_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Job_seeker_unread')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-job_seeker_unread" data-rule="required" class="form-control" name="row[job_seeker_unread]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Enterprise_unread')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-enterprise_unread" data-rule="required" class="form-control" name="row[enterprise_unread]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="1">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
